﻿using IceZero.DataStore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceZero.DataStore.Models
{
    public class TodoUser:ModelBase
    {
        /// <summary>
        /// 昵称
        /// </summary>
        public virtual string Nickname { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public virtual string Account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public virtual string Password { get; set; }
        /// <summary>
        /// salt 值
        /// </summary>
        public virtual string Salt { get; set; }

        /// <summary>
        /// 用户详情
        /// </summary>
        public virtual TodoUserDetail Detail { get; set; }

        /// <summary>
        /// 代办内容列表
        /// <para>1:N关系，使用ISet,保证每个元素必须唯一</para>
        /// </summary>
        public virtual ISet<TodoContent> Contents { get; set; }
    }
}
